package com.dfbz.demo;

import java.io.PrintStream;

/**
 * @author lscl
 * @version 1.0
 * @intro:
 */
public class Demo01_打印流的基本使用 {
    public static void main(String[] args) throws Exception {
        PrintStream ps = new PrintStream("001.txt");

        ps.println("你好");
        ps.println("我好");
        ps.print("大家好");

        ps.close();
    }
}
